#!/usr/bin/env bash
ip=$(grep -m 1 '^nameserver' /etc/resolv.conf | awk '{print $2}')
export ALL_PROXY=$ip:7777
echo $ALL_PROXY
